package com.song.mall.product.feign;

import com.song.common.to.SkuReductionTo;
import com.song.common.to.SpuBoundTo;
import com.song.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2021/8/31 - the current system date.
 * 17:33 - the current system time.
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {

    @PostMapping("coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("coupon/skufullreduction/saveinfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
